import request from '@/utils/request'

// 查询年度统计信息-总列表
export function listScmStatsYearly(query) {
  return request({
    url: '/scm/scmStatsYearly/list',
    method: 'get',
    params: query
  })
}

// 查询年度统计信息-总详细
export function getScmStatsYearly(id) {
  return request({
    url: '/scm/scmStatsYearly/' + id,
    method: 'get'
  })
}

// 新增年度统计信息-总
export function addScmStatsYearly(data) {
  return request({
    url: '/scm/scmStatsYearly',
    method: 'post',
    data: data
  })
}

// 修改年度统计信息-总
export function updateScmStatsYearly(data) {
  return request({
    url: '/scm/scmStatsYearly',
    method: 'put',
    data: data
  })
}

// 删除年度统计信息-总
export function delScmStatsYearly(id) {
  return request({
    url: '/scm/scmStatsYearly/' + id,
    method: 'delete'
  })
}
